#!/bin/sh
#
# create_log_file.sh
#
# Copyright (C) 2013 NTT Software Corporation.

username=$1
logdir=$2
logfilename=$3

su $username -c "mkdir -p $logdir ; touch $logfilename"

if [ $? -ne 0 ]; then
	exit 100
fi

exit 0
